<?php
/**
 * Author: 草上飞
 * Email: wei@alipay16.cn
 * QQ: 2719875001
 * Date: 2025/5/3
 * 描述:
 */

namespace app\controller\index;


use app\result\extend\StaffResult;
use think\App;

class Staff extends BaseIndex
{
    public function __construct(App $app)
    {
        parent::__construct($app);
        $this->objResult = new StaffResult();
    }

    public function list()
    {
        data_exit_json($this->objResult->list($this->user_id, $this->param));
    }

    public function get()
    {
        data_exit_json($this->objResult->get($this->user_id, $this->param));
    }

    public function save()
    {
        data_exit_json($this->objResult->save($this->user_id, $this->param));
    }
}
